package org.lt.ttkv;

import android.app.Application;

import org.lt.ttkv.store.MmkvKVTool;

public class App extends Application {

  @Override
  public void onCreate() {
    super.onCreate();

    // 如需使用 MMKV，您需额外配置 NDK
    KVConfigs.setKeyValueToolImpl(new MmkvKVTool());
  }

  @Override
  public void onTerminate() {
    KVConfigs.sKVToolImpl.exit();
    super.onTerminate();
  }
}
